<template>
  <div>
    <button @click="fetchData">发送请求</button>
    <el-button>elementPlus</el-button>
    <el-row>
    <el-col :span="12"><div class="grid-content ep-bg-purple-dark" />123</el-col>
    <el-col :span="12"><div class="grid-content ep-bg-purple-dark" />123</el-col>
  </el-row>
  </div>
</template>

<script lang='ts' setup>
import {findAllUser} from "@/apis/userApi"
const fetchData =async ()=>{
  const res = await findAllUser()
  console.log(res);
  
}
</script>

<style lang='scss' scoped>
</style>